﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace bdnt_pets_system_Entity
{
    [DataContract]
    public class Tbl_Station:INotifyPropertyChanged
    {
        bool isValidate = true;
        [DataMember]
        public bool IsValidate
        {
            get { return isValidate; }
            set { isValidate = value; }
        }

        Int32 id;
        [DataMember]
        public Int32 Id
        {
            get { return id; }
            set { id = value; }
        }

        string stationNo;
        [DataMember]        
        public string StationNo
        {
            get { return stationNo; }
            set { stationNo = value; }
        }

        string stationName;
        [DataMember]
        public string StationName
        {
            get { return stationName; }
            set { stationName = value; }
        }

        string en_stationName;
        [DataMember]
        public string en_StationName
        {
            get { return en_stationName; }
            set { en_stationName = value; }
        }
        string shopName;
        [DataMember]
        public string ShopName
        {
            get { return shopName; }
            set { shopName = value; }
        }

        string en_shopName;
        [DataMember]
        public string en_ShopName
        {
            get { return en_shopName; }
            set { en_shopName = value; }
        }

         Int32 shopId;
         [DataMember]
         public Int32 ShopId
         {
             get { return shopId; }
             set { shopId = value; }
         }

         string shopNo;
         [DataMember]
         public string ShopNo
         {
             get { return shopNo; }
             set { shopNo = value; }
         }

         string remark;
         [DataMember]
         public string Remark
         {
             get { return remark; }
             set { remark = value; }
         }

         public event PropertyChangedEventHandler PropertyChanged;
         private void OnPropertyChanged(string PropName)
         {
             if (PropertyChanged != null)
             {
                 this.PropertyChanged(this, new PropertyChangedEventArgs(PropName));
             }
         }
    }
}
